package vision;

import java.awt.event.MouseAdapter;

import javax.swing.ImageIcon;
import javax.swing.JFrame;
import javax.swing.JLabel;

import com.sun.awt.AWTUtilities;

public class Operate_Main extends MouseAdapter{
	JFrame opFrame;
	JLabel opLabel;
	
	public Operate_Main(){
		opFrame = new JFrame();
		opFrame.setSize(Enter_Main.ScreenSize);
		opFrame.setAlwaysOnTop(true);
		opFrame.setUndecorated(true);
		AWTUtilities.setWindowOpaque(opFrame, true);
		
		opLabel = new JLabel(new ImageIcon("image/Operate/OperateFrame.jpg"));
		opLabel.setSize(Enter_Main.ScreenSize);
		opLabel.setVisible(true);
		opLabel.addMouseListener(this);
		
		opFrame.add(opLabel);
		opFrame.setVisible(true);

	}
}
